import { request } from "@/utils/axios"

/**
 * 其余代码省略...
 */

/**
 * 转移 1.先获取组委会列表
 */
export function getAgents(params = {}) {
    return request(
        {
            url: `/organizing/getAgents`,
            method: "GET",
            params: params
        }
    );
}

/**
 * 获取参赛审核列表
 */
export function getCompetitionListPage(params) {
    return request(
        {
            url: `/agent/getCompetitionListPage`,
            method: "GET",
            data: {},
            params
        }
    );
}

/**
 * 激活
 */

export function ActivatePlayerApi(params) {
    return request(
        {
            url: "/agent/activatePlayer",
            method: "PUT",
            params: params,
        }
    );
}

/**
 * 撤销报名
 */
export function withdrawalRegistration(params) {
    return request(
        {
            url: `/agent/withdrawalRegistration`,
            method: "PUT",
            data: {},
            params
        }
    );
}

/**
 * 修改参赛审核状态
 */
export function auditCompetitionStudent(params) {
    return request(
        {
            url: `/agent/auditCompetitionStudent`,
            method: "PUT",
            data: {},
            params
        }
    );
}